package zx.x.modules.app.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import zx.x.common.utils.PageUtils;
import zx.x.common.utils.Query;

import zx.x.modules.app.dao.OrderPriceDetailsDao;
import zx.x.modules.app.entity.OrderPriceDetailsEntity;
import zx.x.modules.app.service.OrderPriceDetailsService;


@Service("orderPriceDetailsService")
public class OrderPriceDetailsServiceImpl extends ServiceImpl<OrderPriceDetailsDao, OrderPriceDetailsEntity> implements OrderPriceDetailsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrderPriceDetailsEntity> page = this.page(
                new Query<OrderPriceDetailsEntity>().getPage(params),
                new QueryWrapper<OrderPriceDetailsEntity>()
        );

        return new PageUtils(page);
    }

}